package com.boot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private String userName;

    private String password;

    public String getUserInfo(){
        return "用户名:"+userName+" 密码:"+password;
    }

}
